﻿@model NationalIT.mGroup
<h3>
    Add new Group </h3>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Add new Group unsuccess")
@using (Html.BeginForm("Create", "Group"))
{
    <div>
        <div class="control-group">
            <label class="control-label">
                Group name</label>
            <div class="controls">
                @Html.TextBoxFor(m => m.Title)
            </div>
            <input type="submit" value="OK" class="btn btn-primary"/>
            <button type="button" class="btn" onclick="javascript:window.history.go(-1);">
                Cancel</button>
        </div>
    </div>
}